package com.gitee.jmash.storage.service;

import com.gitee.jmash.core.orm.DtoPage;
import com.gitee.jmash.core.orm.DtoTotal;
import com.gitee.jmash.core.orm.tenant.TenantService;
import com.gitee.jmash.storage.entity.StorageOrganBrowserEntity;
import com.gitee.jmash.storage.entity.StorageOrganBrowserEntity.StorageOrganBrowserPk;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotNull;
import java.util.List;
import jmash.storage.protobuf.StorageOrganBrowserReq;

 /**
 * 组织浏览信息 storage_organ_browser服务Read接口.
 *
 * @author <a href="mailto:service@crenjoy.com">crenjoy</a>
 */
public interface StorageOrganBrowserRead extends TenantService {

  /** 根据主键查询. */
  public StorageOrganBrowserEntity findById(@NotNull StorageOrganBrowserPk entityId);

  /** 查询页信息. */
  public DtoPage<StorageOrganBrowserEntity,DtoTotal> findPageByReq(@NotNull @Valid StorageOrganBrowserReq req);

  /** 综合查询. */
  public List<StorageOrganBrowserEntity> findListByReq(@NotNull @Valid StorageOrganBrowserReq req);
  
}
